<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/11
  Time: 14:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../common/web_top.jsp" %>
<html>
<head>
    <title>客户手机通讯录</title>


</head>
<body>
<div class="public-top">
    <i class="iconfont icon-shouyeshouye"></i>
    <span>您的位置：客户管理&gt;客户列表&gt;客户手机通讯录</span>
    <span></span>

</div>
<div class="public-bgContent public-bg-pad">
    <div class="public-bgListNav">
        <span class="public-input">客户手机通讯录</span>
        <%--<!-- ngIf: HbHr.hr180 --><span class="public-List  publicListHover" ng-if="HbHr.hr180" ng-click="F.toggleView('client','clientList')">客户列表</span><!-- end ngIf: HbHr.hr180 -->--%>
    </div>
</div>
<%--搜索--%>
<div class="public-bgDate" style="padding-left: 20px">
        <span>
      <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty search_phoneName" placeholder="输入联系人 姓名" ng-model="data.searchKey">
          <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty search_phone" placeholder="输入联系人 电话号码" ng-model="data.searchKey">

        </span>



    <button  class="search_phoneNameOrPhone_Btn">
        <i class="iconfont icon-sousuo"></i>
    </button>
</div>
<%----%>
<div id="personalPublicList"></div>

<script type="text/x-handlebars-template" id="personalPublicList_tpl">


    <div class="public-bghint">
        <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
        <i class="iconfont icon-icon-copy-copy"></i>
        <span class="calNum">筛选<span class="">{{content.total}}</span>条结果</span>
    </div>
    <ul class="public-ulList set-listH" ng-show="clientShow.caozuo">
        <li>显示客户手机通讯录联系人的数据；</li>
        <li>对客户联系人进行增、删、改、查操作</li>

    </ul>
    <div style="height: 20px;"></div>
    <div class="table-scroll">
        <!--tabel 列表-->
        <table class="table public-table PoInput">
            <thead>
            <tr>
                <td>选择</td>
                <td></td>
                <td>联系人姓名</td>
                <!-- <td>手机号码</td> -->
                <td></td>
                <td></td>
                <td>电话号码</td>
                <td></td>
                <td></td>
                <td></td>
                <td>客户姓名</td>
                <!-- <td>未还总额</td> -->
                <td></td>
                <!-- <td>已借款总额</td> -->
                <td></td>
                <td></td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody>

            {{#each content.list}}



            <tr ng-repeat="i in data1.content.list" ng-click="F.tabClick($event)" class="table-tr-hover ">
                <td><input type="checkbox" name="ch_id" value="{{id}}"></td>
                <%--<td class="">{{personalNum}}</td>--%>
                <td class=""></td>

                <td class="">{{phoneName}}</td>
                <td class=""></td>
                <td></td>
                <td class="">{{phone}}</td>
                <td></td>
                <td class=""></td>
                <td></td>
                <td class="">{{unionName}}</td>

                <td></td>

                <td class=""></td>
                <td class=""></td>
                <td>

                    <button  data-id="{{id}}" class="tabHint btnQuery974 edit_phone"  style="background: black;">
                        编辑
                    </button>
                      <button data-id="{{id}}" class="tabHint btnQuery974 delect_phone">
                    删除
                </button>

                    <button  data-id="{{id}}" class="tabHint btnQuery974" style="background: #f7b733;">
                        操作记录
                    </button>
                </td>
            </tr>



            {{/each}}
            </tbody>
            <tfoot class="public-botPage">
            <tr>
                <td>
                    <!-- 全选反选  -->
                    <input id="checkAllOrNot" type="checkbox" ng-click="F.ch_id_all($event,'ch_id')">
                </td>
                <td colspan="18">
                    <div class="public-botPage-left">
              <span>
                <span>全选</span>
              </span>
                        <div class="se-re">
                            <select class="supportc ng-pristine ng-untouched ng-valid ng-not-empty batch_delete" ng-model="selectType.default" ng-change="F.selectQuery('supportc','ch_id')">
                                <option value="-1" selected="selected">批量操作</option>
                                <option ng-if="HbHr.hr182" value="1" path="client" params="beBlack" class="">批量删除</option><!-- end ngIf: HbHr.hr182 -->
                            </select>
                            <span class="se-po"></span>
                        </div>
                        <button class="tabHint new_contacts">
                            新增联系人
                        </button>
                    </div>
                    <div class="page-container product-page-container" style="float: right; padding: 15px 0;"></div>

                </td>
            </tr>
            </tfoot>

        </table>
    </div>

</script>

</body>
</html>
<%@ include file="../../common/web_bottom.jsp" %>

<%--新增联系人--%>
<div class="winBox new_contacts_window " style="display: none;">

    <!-- ngInclude: box --><div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
    <div class="winBox5 ">
        <div class="changeMan">
            <!-- 说明：更换业务员 -->
            <!-- 头部 -->
            <div class="headerBox">
                <span class="headerSpan">新增联系人</span>
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="assBox">
                <div class="public-bgDate" style="padding-left: 20px">
        <span>
      <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty new_phoneName" placeholder="新增联系人 姓名" ng-model="data.searchKey"><br>
            <br>
          <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty new_phone" placeholder="新增联系人 电话号码" ng-model="data.searchKey">

        </span>




                </div>

                <button class="new_contacts_commit" style="margin-left: 20px">
                    确认提交
                </button>
            </div>
        </div>
    </div></div>
</div>



<%--编辑--%>
<div class="winBox edit_contacts_window " style="display: none;">

    <!-- ngInclude: box --><div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
    <div class="winBox5 ">
        <div class="changeMan">
            <!-- 说明：更换业务员 -->
            <!-- 头部 -->
            <div class="headerBox">
                <span class="headerSpan">编辑联系人</span>
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="assBox">
                <div class="public-bgDate" style="padding-left: 20px">
        <span>
      <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty edit_phoneName"  ng-model="data.searchKey"><br>
            <br>
          <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty edit_phone" ng-model="data.searchKey">

              <br><br>
          <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty edit_id" ng-model="data.searchKey">

        </span>




                </div>

                <button class="new_contacts_commit" style="margin-left: 20px">
                    确认提交
                </button>
            </div>
        </div>
    </div></div>
</div>

<script type="text/javascript" src="static/js/page/customermanager/phoneaddressbook.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>